// config 配置

module.exports = {
    site: {
        name: 'Myblog'
    },
    db: {
        url: 'mongodb://localhost:27017',
        name: 'Myblog'
    },
    session: {
        secret: process.env.SECRET || 'adkaldhfhfjiuiudasidioasd',
        key: 'Myblog',
        maxAge: 7 * 24 * 3600 * 1000 // 以毫秒为单位
    }
}